package com.zkthink.ceres.member.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zkthink.base.service.SuperService;
import com.zkthink.ceres.member.dto.RelationAccountSearchDTO;
import com.zkthink.ceres.member.entity.CeresRelationAcoount;

/**
 * <p>
 * 业务接口
 * 关联客户表
 * </p>
 *
 * @author ck
 * @date 2022-03-10
 */
public interface CeresRelationAcoountService extends SuperService<CeresRelationAcoount> {

    void addRelationAccount(Long mainMid, Long relationMid);

    void deleteRelationAccount(Long mainMid, Long relationId);

    IPage<RelationAccountSearchDTO> searchRelationAccount(IPage page, Long mid);

    Boolean ifRelationAccount(Long mainMid, Long relationId);
}
